package com.wanlian.netty.msg.Device;

import com.wanlian.json.JsonStringUtil;
import com.wanlian.netty.msg.BaseMsg;
import com.wanlian.netty.msg.Device.model.TwoAndFiveWifiInfo;
import com.wanlian.netty.msg.MsgType;

/**
 * 5g网络设置
 */
public class FiveWifiReq extends BaseMsg {
    private TwoAndFiveWifiInfo twoAndFiveWifiInfo;

    public FiveWifiReq() {
        super();
        this.setType(MsgType.DEVICE_FIVEWIFI_SET);
    }

    public TwoAndFiveWifiInfo getTwoAndFiveWifiInfo() {
        return twoAndFiveWifiInfo;
    }

    public void setTwoAndFiveWifiInfo(TwoAndFiveWifiInfo twoAndFiveWifiInfo) {
        this.twoAndFiveWifiInfo = twoAndFiveWifiInfo;
        this.setContent(JsonStringUtil.writeValueAsString(twoAndFiveWifiInfo));
    }
}
